package com.gxa.order.entity;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AccommodationOrderItem {
  private Long id;
  private Long orderNum;
  private Timestamp orderTime;
  /**
   * 订单状态
   *  0待支付，1即将入住，2入住中，3申请退款，4审核不通过，5待退款，6已退款，7已退房，8已过期
   */
  private Byte orderStatus;
  private Timestamp payTime;
  private Double money;
  private String payType;
  private Long uid;
  private Long accommodationType;
  private Long roomType;
  private Long hid;
  private Long roomId;
  private Byte delStatus;
  private Timestamp checkInTime;
  private Timestamp checkOutTime;
  private Long commentId;
  private String refundCause;

  // 用户信息
  private String username;
  // 酒店信息
  private String hotelName;
  // 房间类型
  private String roomTypeName;
  // 房间号 如果是民宿则没有这个字段
  private String roomNumber;
  // 房间价格
  private Double roomPrice;
  // 下单汇率
  private Double rate;
  // 订单金额
  private Double orderMoney;
  // 支付方式
  private String payTypeName;
}
